home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CEnhancedWindow.h < prev    next >
Text File  |  1994-04-29  |  849b  |  34 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CEnhancedWindow.h
  3. //|
  4. //| This file contains the interface to an enhanced window.  This window
  5. //| is more aware of multiple screens that a normal window, and can place
  6. //| and zoom itself intelligently depending on the screen setup.
  7. //|___________________________________________________________________________
  8.  
  9.  
  10.  
  11. CLASS CWindow;
  12.  
  13. class CEnhancedWindow : public CWindow
  14.     {
  15.  
  16.     short title_bar_height;
  17.  
  18.     virtual void FindIdealSize(Rect *rect);
  19.  
  20. public:
  21.     
  22.     void IEnhancedWindow(short WINDid, Boolean aFloating,
  23.                         CDesktop *anEnclosure, CDirector *aSupervisor);
  24.  
  25.     virtual void Zoom(short zoomState);
  26.     virtual void PlaceWithVerify(Rect *bounds);
  27.     virtual void Place(Rect *bounds);
  28.     virtual void GetRect(Rect *window_rect);
  29.     virtual void MakeFullScreen(void);
  30.     
  31.     };
  32.  
  33.  
  34.